home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Telnet / 5PM PowerMac / 5PM_Term_PPC.sea / ASC Read Me's… / CTB Scripting Interfaces / FTPack - Scripting Interface < prev    next >
Text File  |  1993-11-16  |  3KB  |  87 lines

  1.  
  2. _________________________________________________________________
  3.  
  4. FTPack Scripting Interface
  5.  
  6. _________________________________________________________________
  7.  
  8. Following is the syntax of the Scripting Interface.
  9.  
  10. All the parameters accessible through the Configuration Dialogs can also be set through the Scripting Interface.
  11.  
  12. Please refer to the Help in the Configuration Dialogs for the meaning of each parameter. 
  13.  
  14.  
  15. Session Configuration :
  16.     ShowSessions               true | false
  17.     Session                          "session name"
  18.  
  19. Server Configuration :
  20.     RemoteAddress              "host name" | "IP address"
  21.  
  22. Access Configuration :
  23.     User                             "user name"
  24.     Password                      "password        (or "encrypted pwd" returned by FTGetConfig())
  25.     Account                          "account"        (or "encrypted pwd" returned by FTGetConfig())
  26.     ShowDialog                    true | false
  27.     ShowFiles                     true | false
  28.     FullList                      true | false
  29.     Look                             "look (format) name"
  30.     LogFile                          true | false
  31.     LogName                          "file name"
  32.     FullLog                          true | false
  33.  
  34. Transfer Configuration :
  35.     TransmitLF                    true | false
  36.     SkipLF                           true | false
  37.     XferMode                      ascii | binary | macBinary
  38.     SendMode                      store | storeUnique | append
  39.     ReceiveMode                   cancel | prompt | rename | append | overwrite
  40.     Document                      "document name"    (ex: "TeachText Doc")
  41.     Creator                          "creator"        (ex: "ttxt")
  42.     Type                             "type"            (ex: "TEXT")
  43.  
  44. Script Configuration :
  45.     UseScript                     true | false
  46.     ScriptAlerts         true | false
  47.     Script                           [cmd◊cmd◊…]        (Commands are described in the General           
  48.                                     Help. They must be between brackets '[]' 
  49.                                     and separated by Opt-Shift-V '◊')
  50.  
  51. Options Configuration :
  52.     MacTCPBuffer               16384 | 32768 | 65536 | 131072
  53.     BlocksSize                    1024 | 2048 | 4096 | 8192 | 16384 | 32768
  54.     ConnectTime                   decimal value    (0…255)
  55.     ControlTime                   decimal value    (0…255)
  56.     DataTime                      decimal value    (0…255)
  57.     RepeatTYPECmd              true | false
  58.     UsePORTCmd                    true | false
  59.     ControlPort                   decimal value    (3…65535, should stay 21)
  60.  
  61. Extensions Configuration :
  62.     LoginPatch                    "string"        (ex: "CWD /users/john")
  63.     ReceivePatch            "string"        (ex: "STRU r")
  64.     SendPatch                  "string"        (ex: "STRU r")
  65.     ListPatch                  "string"        (ex: "SITE UNIX")
  66.     LogoutPatch                "string"        (ex: "DELE *.temp") 
  67.     NlstCmd                       "string"        (should be "NLST" or "NLST -a" only)
  68.     ListCmd                       "string"        (should be "LIST" or "LIST -a" only)
  69.     DirUpCmd                   "string"        (should be "CDUP" or "CWD .." only)
  70.  
  71.  
  72. _________________________________________________________________
  73.  
  74. General Information
  75. _________________________________________________________________
  76.  
  77. Δ True and false may also be written 1 or 0.
  78.  
  79. Δ Names and strings can be written between quotes (ex: “my host”).
  80.  
  81. Δ Scripts are also available in French and Spanish. If you create a new ‘STR#’ resource to add another language, its ID must be 31100 + Language Code (as defined in <ScriptMgr.h>).
  82.  
  83. Δ UseScript, Script and DirUpCmd are available since version 1.1 only.
  84.  
  85. Δ Look, ScriptAlerts and RepeatTYPECmd are available since version 1.2 only.
  86.  
  87.